package cn.happy.day02;

import java.util.Scanner;

public class T20 {
    public static void main(String[] args) {
        System.out.println("Plz input your integer num");
        Scanner input=new Scanner(System.in);
        int num=input.nextInt();
        int nextInt = input.nextInt();
//        int numList=[];
        int idx=0;
        while (num>=1){
//            numList[0]=num%10;
            System.out.println(num%10);
            num=num/10;
        }

//        if (5<3 or 1<3){
//            System.out.println("yes");
//        }
    }
}
